import require from '@/utils/request'

// 获取用户token
export function loginApi(data) {
  return require.post('/sys/login', data)
}

// 获取用户基本信息
export const getUserInfoApi = () => {
  return require.get('/sys/profile')
}

export const xuigaiMmApi = (data) => {
  return require.put('/sys/user/updatePass', data)
}
